package com.gs.dao;

import java.util.List;

import com.gs.bean.Customer;
import com.liang.util.Page;

public interface CustomerDAO {
	
	void addCustomer(Customer newCustomer);
	
	void deleteCustomer(Integer id);
	
	void updateCustomer(Customer updateCustomer);
	
	Customer findCustomer(Integer id);
	
	List<Customer> queryAll();
	
	Page<Customer> queryPage(Customer searchModel , int currentPage,int pageSize);
	
}
